package com.rc.saas.tenant.model.ticket;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.format.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.rc.saas.tenant.base.BaseModel;
import com.rc.saas.tenant.model.converter.AuditsStatusConverter;

import java.util.Date;

public class RcCouponTemplateApply extends BaseModel {

    @ExcelIgnore
    private Long couponTemplateApplyId;
    @ExcelIgnore
    private Long operatorId;

    @ExcelProperty(value = "卡劵描述",index = 1)
    private String description;

    @ExcelProperty(value = "审核状态",index = 2, converter = AuditsStatusConverter.class)
    private String applyStatus;

    @ExcelIgnore
    private String createdBy;


    @ExcelProperty(value = "创建时间",index = 3)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date createdTime;

    @ExcelIgnore
    private String lastUpdatedBy;
    @ExcelIgnore
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat("yyyy-MM-dd HH:mm:ss")
    private Date lastUpdatedTime;

    public Long getCouponTemplateApplyId() {
        return couponTemplateApplyId;
    }

    public void setCouponTemplateApplyId(Long couponTemplateApplyId) {
        this.couponTemplateApplyId = couponTemplateApplyId;
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getApplyStatus() {
        return applyStatus;
    }

    public void setApplyStatus(String applyStatus) {
        this.applyStatus = applyStatus;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public String getLastUpdatedBy() {
        return lastUpdatedBy;
    }

    public void setLastUpdatedBy(String lastUpdatedBy) {
        this.lastUpdatedBy = lastUpdatedBy;
    }

    public Date getLastUpdatedTime() {
        return lastUpdatedTime;
    }

    public void setLastUpdatedTime(Date lastUpdatedTime) {
        this.lastUpdatedTime = lastUpdatedTime;
    }
}